<script lang="ts">
import { Router, Link, Route } from "svelte-navigator";
import Blog from './pages/blog/index.svelte'
import Home from './pages/index.svelte'

export let hash;
</script>
 <Router history={hash}>
	<nav>
		<Link to="/">Home</Link>
		<Link to="blog">Blog</Link>
	</nav>
	<div>
		<Route primary={false} path="/">
			<Home />
		</Route>
	 
		<Route primary={false} path="blog">
			<Blog />
		</Route>
	 
	</div>
</Router>  
 